<%--
  Created by IntelliJ IDEA.
  User: HuangLiting
  Date: 2018/5/28
  Time: 14:25
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html ng-app="MyApp">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>登录</title>
    <link rel="stylesheet" href="css/layui.css" media="all" />
    <link rel="stylesheet" href="css/login.css" />
</head>

<body class="beg-login-bg" ng-controller="loginController">
<div class="beg-login-box">
    <header>
        <h1>后台登录</h1>
    </header>
    <div class="beg-login-main">
        <div class="layui-form-item">
            <label class="beg-login-icon">
                <i class="layui-icon">&#xe612;</i>
            </label>
            <input type="text" name="userName" placeholder="这里输入登录名" class="layui-input" required="" ng-model="userId">
        </div>
        <div class="layui-form-item">
            <label class="beg-login-icon">
                <i class="layui-icon">&#xe642;</i>
            </label>
            <input type="password" name="password" placeholder="这里输入密码" class="layui-input" required="" ng-model="password">
        </div>
        <div class="layui-form-item">
            <div class="beg-pull-left">
                <button class="layui-btn" ng-click="loginSubmit()">
                    <i class="layui-icon">&#xe650;</i> 登录
                </button>
            </div>
            <div class="beg-pull-right">
                <button class="layui-btn layui-btn-primary" ng-click="emptyInput()">
                    <i class="layui-icon">&#xe650;</i> 重置
                </button>
            </div>
            <div class="beg-clear"></div>
        </div>
    </div>
    <footer>
        <p>实验排课与发布后台管理系统 © hlt</p>
    </footer>
</div>
</body>
<script src="js/jquery.min.js"></script>
<script src="js/angular.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/login.js"></script>
</html>